/**
 * @file stream.h
 * @author Yao Zongyou <yaozy2010@gmail.com>
 * @date 2011-03-30
 */

#ifndef STREAM_H_2011_03_30
#define STREAM_H_2011_03_30

#pragma once

bool GetMute(void);
bool SetMute(bool);
bool IsMPEGAudio(LPTSTR);
bool DShowInit(void);
void DShowRelease(void);
void GetOpenFile(HWND, const bool);
//void ProcessFile(HWND, bool, LPCTSTR, PLAYLISTDATA *);
void FileOpen(HWND, LPCTSTR, bool);
void OpenMP3URL(HWND, LPCTSTR, bool);
void CommandLineOpen(LPTSTR, HWND);
void CloseStream(HWND, HANDLE *);
void StopInternetDownload(void);
void SaveAudioStream(HANDLE, LPTSTR);

#endif /* STREAM_H_2011_03_30 */
